The phrase "to bag a lunch" means to pack a meal or a snack in a bag so that you can take it with you to eat elsewhere, usually at work or school.